package com.example.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;

// 等价于 @Configuration + @EnableAutoConfiguration + @ComponentScan
@SpringBootApplication
public class Demo2Application {
    public static void main(String[] args) {
        // 启动Spring Boot应用
        SpringApplication.run(Demo2Application.class, args);
    }
}

